package com.yupi.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.yuapicommon.model.entity.UserInterfaceInfo;

/**
 * <p>
 * 用户调用接口关系 服务类
 * </p>
 *
 * @author 毛哥
 * @since 2025-05-23
 */
public interface UserInterfaceInfoService extends IService<UserInterfaceInfo> {
    void validUserInterfaceInfo(UserInterfaceInfo userInterfaceInfo, boolean add);

    /**
     * 修改记录，调用次数加一，剩余次数减一
     */
    boolean updateNum(int userId,int InterfaceId);
}
